package com.nuaa.qianru;

import com.nuaa.qianru.config.JudgeIndex1;
import com.nuaa.qianru.config.JudgeIndex2;
import com.nuaa.qianru.config.trackConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
@EnableConfigurationProperties({JudgeIndex1.class, JudgeIndex2.class, trackConfig.class})
public class QianruApplication {

    public static void main(String[] args) {
        //SpringApplication.run(QianruApplication.class, args);
        SpringApplicationBuilder builder = new SpringApplicationBuilder(QianruApplication.class);
        builder.headless(false).run(args);

    }

}
